package com.cy.oa.mapper;

import java.util.List;

import com.cy.oa.entity.LeaveBean;

public interface LeaveMapper {
	public int addLeave(LeaveBean leaveBean);
	
	public int updateLeaveBeanById(LeaveBean leaveBean);
	
	public LeaveBean queryLeaveByInstanceId(String instanceId);
	
	public List<LeaveBean> queryAllLeave();
}
